import Vue from 'vue';
import App from './App.vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router/index.js';
import store from './vuex/index';
import isDisable from './utils/directive';

Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.use(isDisable);

// 用于测试，mlioe-ui.css和element ui冲突，使用需把ml-ui注释掉，否则图标或组件冲突导致出不来
import mlUi from 'ml-ui';
import 'ml-ui/dist/mlioe-ui.css';
Vue.use(mlUi);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');
